<?php
ob_start();
$host="localhost"; // Host name 
$username="root"; // Mysql username 
$password="123456"; // Mysql password 
$db="mapshare"; // Database name 


// Connect to server and select databse.


mysql_connect("$host", "$username", "$password")or die("cannot connect"); 
mysql_select_db("$db")or die("cannot select DB");


?>